package com.ruoyi.haircut.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 结账对象 t_order
 *
 * @author ruoyi
 * @date 2023-05-13
 */
public class Order extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 套餐id */
    private Long comboId;

    /** 套餐名称 */
    @Excel(name = "套餐名称")
    private String comboName;


    /** 顾客Id*/
    @Excel(name = "顾客Id")
    private Long memberId;

    /** 顾客名称 */
    @Excel(name = "顾客名称")
    private String name;

    /** 号码 */
    @Excel(name = "号码")
    private String phone;

    /** 支付类型 */
    @Excel(name = "支付类型")
    private Long payMethod;

    /** 原价 */
    @Excel(name = "原价")
    private BigDecimal boforeMoney;

    /** 实付 */
    @Excel(name = "实付")
    private BigDecimal payMoney;

    /** 附加信息 */
    private String addition;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    /** 更新人 */
    private String updateUser;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setComboId(Long comboId)
    {
        this.comboId = comboId;
    }

    public Long getComboId()
    {
        return comboId;
    }
    public void setComboName(String comboName)
    {
        this.comboName = comboName;
    }

    public String getComboName()
    {
        return comboName;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setPayMethod(Long payMethod)
    {
        this.payMethod = payMethod;
    }

    public Long getPayMethod()
    {
        return payMethod;
    }
    public void setBoforeMoney(BigDecimal boforeMoney)
    {
        this.boforeMoney = boforeMoney;
    }

    public BigDecimal getBoforeMoney()
    {
        return boforeMoney;
    }
    public void setPayMoney(BigDecimal payMoney)
    {
        this.payMoney = payMoney;
    }

    public BigDecimal getPayMoney()
    {
        return payMoney;
    }
    public void setAddition(String addition)
    {
        this.addition = addition;
    }

    public String getAddition()
    {
        return addition;
    }
    public void setCreateUser(String createUser)
    {
        this.createUser = createUser;
    }

    public String getCreateUser()
    {
        return createUser;
    }
    public void setUpdateUser(String updateUser)
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser()
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("comboId", getComboId())
            .append("comboName", getComboName())
            .append("name", getName())
            .append("phone", getPhone())
            .append("payMethod", getPayMethod())
            .append("boforeMoney", getBoforeMoney())
            .append("payMoney", getPayMoney())
            .append("addition", getAddition())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .append("updateUser", getUpdateUser())
            .toString();
    }
}
